#include <iostream>
#include <thread>
using namespace std;
void func()
{
	int a = 10;
	cout << a << endl;
	cout << (&a) << endl;
}
void funB()
{
	int a = 5;
	cout << a << endl;
	cout << (&a) << endl;
}
int main()
{
	std::thread s(func);
	std::thread m(funB);
	s.join();
	m.join();
	return 0;
}